package cn.gx.kevin.service;

import cn.gx.kevin.domain.Func;
import cn.gx.kevin.service.IBaseService;
import org.springframework.web.multipart.MultipartFile;

import java.io.OutputStream;
import java.util.List;
import java.util.Map;

/**
*Generate by Kevin's CodeBuilder
**/
public interface IFuncService extends IBaseService<Func,String> {
	/**
	 * 加载用户拥有的菜单与功能
	 * ***/
	public List<Func> login(String userId) throws Exception;
	
	
	/**
	* @Description: 根据controller，cmd获取操作描述 
	* @param controller
	* @param cmd
	* @return
	* @throws Exception
	*/
	public String getOperatorDesp(String controller, String cmd) throws Exception;

	void export(OutputStream outputStream) throws Exception;


	long importFuncs(MultipartFile xlsFile) throws Exception;



}
